package 内部类;

public class 内部类 {
    class Inner {
        public void print() {
            System.out.println("This is an inner class.");
        }
    }

    public static void main(String[] args) {
        内部类 outer = new 内部类();
        Inner inner = outer.new Inner();
        inner.print();
    }
}
